package com.visceb.backstage.dao;
import com.visceb.backstage.entity.Employee;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface empRepository  extends JpaRepository<Employee, Long>{
    List<Employee> findAllByDepart(String depart);
    Employee findByEmpId(String empId);
}
